package cn.com.zero.manager.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author guoxin
 * @version 1.0.0
 * @Description
 * @date 2023/2/13 13:35
 */
@SpringBootApplication(scanBasePackages = {"cn.com.zero"})
@EnableAsync
@MapperScan(basePackages = "cn.com.zero.**.mapper")
@EnableDiscoveryClient
@ServletComponentScan
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class,args);
    }
}
